From: Kenichi Handa Date: Mon, 13 Apr 2009 12:37:41 +0000 (+0000) Subject: (get_adstyle_property): Fix previous change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~869 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5e9799bc61dc6b07e5253439f8f4c925615fa1da;p=emacs.git (get_adstyle_property): Fix previous change. --- diff --git a/src/ftfont.c b/src/ftfont.c index 6865478bd20..f2fa877c554 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -187,6 +187,7 @@ get_adstyle_property (FcPattern *p) char *p = alloca (end - str + 1); memcpy (p, str, end - str); p[end - str] = '\0'; + end = p + (end - str); str = p; } if (xstrcasecmp (str, "Regular") == 0